//
//  TMHttpManager.h
//  TMSDK
//
//  Created by mac on 2021/5/7.
//  Copyright © 2021 Summer. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@class TMBaseNetworking;

@interface TMHttpManagerModel : NSObject

@property (nonatomic, strong) NSString *vc;
@property (nonatomic, strong) TMBaseNetworking *request;

@end


@interface TMHttpManager : NSObject

@property (nonatomic, strong) NSMutableArray *requestModels;

+ (TMHttpManager *)instance;

- (void)addRequest:(TMBaseNetworking *)request;

- (void)removeRequest:(TMBaseNetworking *)request;

- (void)cancelAllRequestWithVc:(NSString *)vc;

@end

NS_ASSUME_NONNULL_END
